package com.ruoyi.wms.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物料对象 wms_item
 * 
 * @author zmm
 * @date 2023-01-30
 */
public class WmsItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一值 */
    private Long id;
    private Long deptId;

    @Override
    public Long getDeptId() {
        return deptId;
    }

    @Override
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
    /** 编号 */
    @Excel(name = "编号")
    private String itemNo;

    /** 名称 */
    @Excel(name = "名称")
    private String itemName;

    /** 分类 */
    @Excel(name = "分类")
    private String itemType;

    /** 单位类别 */
    @Excel(name = "单位类别")
    private String unit;

    /** 所属货架 */
    @Excel(name = "所属货架")
    private Long rackId;

    /** 所属库区 */
    @Excel(name = "所属库区")
    private Long areaId;

    /** 所属仓库 */
    @Excel(name = "所属仓库")
    private Long warehouseId;

    /** 安全库存 */
    @Excel(name = "安全库存")
    private BigDecimal quantity;

    /** 有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expiryDate;



    @Excel(name = "设备名称")
    private String deviceName;

    @Excel(name = "设备编号")
    private String deviceNumber;

    @Excel(name = "人员数量")
    private Integer headcount;

    @Excel(name = "库容")
    private BigDecimal storageCapacity;

    @Excel(name = "罐组")
    private String tankGroup;

    @Excel(name = "可燃气体探头数量")
    private Integer probeNumber;

    @Excel(name = "供油模式")
    private String oilSupplyMode;

    @Excel(name = "油源")
    private String oilSource;

    @Excel(name = "实验室")
    private String laboratory;

    @Excel(name = "消防能力(罐、泵)")
    private String fireFightingCapability;

    @Excel(name = "加油车名称")
    private String vehicleName;

    @Excel(name = "加油车型号")
    private String vehicleModel;

    @Excel(name = "加油车制造厂家")
    private String manufacturer;

    @Excel(name = "加油车底盘型号")
    private String chassisSpecification;

    @Excel(name = "加油车底盘号")
    private String chassisNumber;

    @Excel(name = "加油车自编号")
    private String vehicleNo;

    @Excel(name = "加油车出厂日期",dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date productionDate;

    @Excel(name = "加油车出厂编号")
    private String factoryNumber;

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceNumber() {
        return deviceNumber;
    }

    public void setDeviceNumber(String deviceNumber) {
        this.deviceNumber = deviceNumber;
    }

    public Integer getHeadcount() {
        return headcount;
    }

    public void setHeadcount(Integer headcount) {
        this.headcount = headcount;
    }

    public BigDecimal getStorageCapacity() {
        return storageCapacity;
    }

    public void setStorageCapacity(BigDecimal storageCapacity) {
        this.storageCapacity = storageCapacity;
    }

    public String getTankGroup() {
        return tankGroup;
    }

    public void setTankGroup(String tankGroup) {
        this.tankGroup = tankGroup;
    }

    public Integer getProbeNumber() {
        return probeNumber;
    }

    public void setProbeNumber(Integer probeNumber) {
        this.probeNumber = probeNumber;
    }

    public String getOilSupplyMode() {
        return oilSupplyMode;
    }

    public void setOilSupplyMode(String oilSupplyMode) {
        this.oilSupplyMode = oilSupplyMode;
    }

    public String getOilSource() {
        return oilSource;
    }

    public void setOilSource(String oilSource) {
        this.oilSource = oilSource;
    }

    public String getLaboratory() {
        return laboratory;
    }

    public void setLaboratory(String laboratory) {
        this.laboratory = laboratory;
    }

    public String getFireFightingCapability() {
        return fireFightingCapability;
    }

    public void setFireFightingCapability(String fireFightingCapability) {
        this.fireFightingCapability = fireFightingCapability;
    }

    public String getVehicleName() {
        return vehicleName;
    }

    public void setVehicleName(String vehicleName) {
        this.vehicleName = vehicleName;
    }

    public String getVehicleModel() {
        return vehicleModel;
    }

    public void setVehicleModel(String vehicleModel) {
        this.vehicleModel = vehicleModel;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getChassisSpecification() {
        return chassisSpecification;
    }

    public void setChassisSpecification(String chassisSpecification) {
        this.chassisSpecification = chassisSpecification;
    }

    public String getChassisNumber() {
        return chassisNumber;
    }

    public void setChassisNumber(String chassisNumber) {
        this.chassisNumber = chassisNumber;
    }

    public String getVehicleNo() {
        return vehicleNo;
    }

    public void setVehicleNo(String vehicleNo) {
        this.vehicleNo = vehicleNo;
    }

    public Date getProductionDate() {
        return productionDate;
    }

    public void setProductionDate(Date productionDate) {
        this.productionDate = productionDate;
    }

    public String getFactoryNumber() {
        return factoryNumber;
    }

    public void setFactoryNumber(String factoryNumber) {
        this.factoryNumber = factoryNumber;
    }

    /** 删除标识 */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setItemNo(String itemNo) 
    {
        this.itemNo = itemNo;
    }

    public String getItemNo() 
    {
        return itemNo;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setItemType(String itemType) 
    {
        this.itemType = itemType;
    }

    public String getItemType() 
    {
        return itemType;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setRackId(Long rackId) 
    {
        this.rackId = rackId;
    }

    public Long getRackId() 
    {
        return rackId;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setQuantity(BigDecimal quantity) 
    {
        this.quantity = quantity;
    }

    public BigDecimal getQuantity() 
    {
        return quantity;
    }
    public void setExpiryDate(Date expiryDate) 
    {
        this.expiryDate = expiryDate;
    }

    public Date getExpiryDate() 
    {
        return expiryDate;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemNo", getItemNo())
            .append("itemName", getItemName())
            .append("itemType", getItemType())
            .append("unit", getUnit())
            .append("rackId", getRackId())
            .append("areaId", getAreaId())
            .append("warehouseId", getWarehouseId())
            .append("quantity", getQuantity())
            .append("expiryDate", getExpiryDate())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
